package com.yuyou.fn.crm.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.crm.entity.VisitDetail;
import com.yuyou.fn.crm.vo.VisitDetailQueryVo;
import com.yuyou.fn.platform.permission.DataPermission;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;


/**
 *
 * VisitDetail 表数据服务层接口
 *
 */
public interface IVisitDetailService extends ISuperService<VisitDetail,Long> {


    Page<VisitDetail> findVisitDetailByQuery(DataPermission dataPermission, VisitDetailQueryVo queryVo, int pageNo, int pageSize);

    SXSSFWorkbook exportVisitDetail2Excel(DataPermission dataPermission, VisitDetailQueryVo queryVo);
}